package Xsxkxt;

public class Course {
    int number;
    String name;
    String place;
    String time;

    public Course(String name, int number, String place, String time) {
        this.number = number;
        this.name = name;
        this.place = place;
        this.time = time;
    }

    public String toString() {
        return  "课程名:" +    name  + " 课程编号：" + number + "上课地点：" + place
                + "    课程时间：" + time;
    }
}
